package com.ynet.middleground.contract.bean;

import javax.validation.constraints.NotEmpty;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liulx
 * @description 时间戳验签
 * @date 2020-04-12 14:05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "时间戳验签请求信息", description = "时间戳验签请求信息")
public class VerifyTimestampReq extends BaseReqObj {

    private static final long serialVersionUID = 7671501198671716930L;

    @ApiModelProperty(value = "时间戳加签后的流字节", notes = "时间戳加签后的流字节", required = true, dataType = "String")
    @NotEmpty(message = "时间戳加签后的流字节不能为空")
    private String bytes;

}
